/*
 * ExceptionHandler Java Class
 * 22.03.2009
 */

package com.meraklisina.latexeditor;

/**
 *
 * @author kursattopcu
 */
public class ExceptionHandler {

    
    public static String ProcessException(Exception ex){
        String exceptionDetail = "Error: " + ex.getMessage();
        exceptionDetail += "\nStackTrace: " + ex.getStackTrace().toString();

        return exceptionDetail;
    }

}
